package com.aspose.cells.a.d.a.b;

import java.io.IOException;

public class zo extends zk {
   private int a;
   private final float[] b;
   private final float[] c;
   private final byte[] d;
   private final int e;

   public zo(int var1, float[] var2, float[] var3, byte[] var4, int var5) {
      super(var1);
      this.e = var5;
      this.b = var2;
      this.c = var3;
      this.d = var4;
      this.a = 0;
   }

   public int a() {
      return 3;
   }

   public int d() {
      return 12 + this.e + (4 - this.e % 4) % 4 + (this.e << ((this.a & 2048) != 0 ? 1 : ((this.a & 16384) != 0 ? 2 : 3)));
   }

   public int a(com.aspose.cells.a.d.a.zb var1) throws IOException {
      int var2 = this.b(var1);
      var1.b(-608169982);
      var1.b(this.e);
      var1.c(this.a);
      var1.c(0);

      int var3;
      for(var3 = 0; var3 < this.e; ++var3) {
         var1.a(this.b[var3]);
         var1.a(this.c[var3]);
      }

      var1.a(this.d, 0, this.e);

      for(var3 = (4 - this.e % 4) % 4; var3 > 0; --var3) {
         var1.g(0);
      }

      return var2;
   }
}
